package zxzx.controller.AcctBsSgmtDao;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import zxzx.controller.pojo.MotgaCltalCtrctInfSgmt;


public interface MotgaCltalCtrctInfSgmtDao extends JpaRepository<MotgaCltalCtrctInfSgmt, Integer> ,JpaSpecificationExecutor<MotgaCltalCtrctInfSgmt>{

	@Query(value = "SELECT * FROM zx_motga_cltal_ctrct_inf_sgmt WHERE id=?1" , nativeQuery=true)
	MotgaCltalCtrctInfSgmt findOne(Integer id);

}
